package com.udian.frame.common;

public enum ResultCode {
	SUCCESS(0, "success"), 
	SYSTEM_EXCEPTION(-1, "系统异常！"),
	ILLEGAL_ARGS_ERR(-9999, "参数错误"),
	;
	
	private int code;
	
	private String msg;
	
	private ResultCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	public int getCode() {
		return code;
	}
	
	public String getMsg() {
		return msg;
	}
}
